﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MTS
{
    internal class mtStub
    {
        emProgramType m_pt;

        mtLogOnInfo m_logOnInfo;
        mtCredential m_crd;

        public mtStub(emProgramType pt)
        {
            m_pt = pt;
        }

        public mtLogOnInfo LogOnInfo { get => m_logOnInfo; set => m_logOnInfo = value; }

        public mtCredential Credential { get => m_crd; set => m_crd = value; }

        public string Token { get => m_crd.Token; }

        public bool IsValid { get { return m_crd != null; } }
    }
}
